home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.024.SoundApp / PSoundApp.make < prev    next >
Encoding:
Text File  |  1991-10-09  |  2.2 KB  |  71 lines  |  [TEXT/MPS ]

  1. #
  2. # Apple Macintosh Developer Technical Support
  3. #
  4. # MultiFinder-Aware SoundApp Application
  5. #
  6. # SoundApp
  7. #
  8. # SoundApp.make    -    Make Source
  9. #
  10. # Copyright © 1989-1990 Apple Computer, Inc.
  11. # All rights reserved.
  12. #
  13. # Versions:
  14. #             1.03                    May, 1990
  15. #            1.1b1                    Oct, 1990            added support for Sound Input Manager
  16. #
  17. # Components:
  18. #             SoundApp.make        May 1, 1990            MPW build script
  19. #             SoundApp.p            May 1, 1990            Pascal source code
  20. #             SoundApp.r            May 1, 1990            Rez source code
  21. #             SoundAppSnds.r        May 1, 1990            Rez source code
  22. #             SoundUnit.p            May 1, 1990            Pascal source code
  23. #
  24. # Formatting was done with FONT = Monaco, SIZE = 9, TABS = 3
  25. #
  26. # SoundApp.p is a sample application source file for demonstrating
  27. # the Sound Manager.  It requires the use of the SoundUnit to handle
  28. # all of the sound routines.  This portion of the source code handles the
  29. # application’s management of memory, errors, user interface, etc..
  30. #
  31. # Jim Reekes E.O., Macintosh Developer Technical Support
  32. # Tuesday, January 30, 1990  1:01 PM
  33. #
  34.  
  35. #--------------------------------------------------------------------------------
  36. #    The Rez templates have changed from MPW 3.0/3.1 to MPW 3.2 (or will change,
  37. #    depending on when you read this). Our .r file has conditional statements that
  38. #    will cause the right things to happen. By default, we are in 3.0/3.1 format
  39. #    mode. By setting RezOptions to Rez32Options rather than Rez31Options, we allow
  40. #    it to be compiled under MPW 3.2 instead.
  41.  
  42. Rez31Options = -rd
  43. Rez32Options = -rd -d MPW32
  44.  
  45. RezOptions = {Rez31Options}
  46.  
  47. SegmentMappings    =    -sn PASLIB=Main ∂
  48.                             -sn SANELib=Main
  49.  
  50. #--------------------------------------------------------------------------------
  51.  
  52. SoundApp.p.o    ƒƒ SoundUnit.p.o
  53.  
  54. PSoundApp        ƒƒ SoundAppSnds.r PSoundApp.make
  55.     Rez {RezOptions} -o {Targ} SoundAppSnds.r -append
  56.  
  57. PSoundApp        ƒƒ SoundApp.r PSoundApp.make
  58.     Rez {RezOptions} -o {Targ} SoundApp.r -append
  59.  
  60. PObjs                =  SoundUnit.p.o                ∂
  61.                     SoundApp.p.o                     ∂
  62.                     "{Libraries}"Runtime.o        ∂
  63.                     "{Libraries}"Interface.o    ∂
  64.                     "{Libraries}"ToolLibs.o        ∂
  65.                     "{PLibraries}"SANELib.o        ∂
  66.                     "{PLibraries}"PasLib.o
  67.  
  68. PSoundApp            ƒƒ {PObjs} PSoundApp.make
  69.     Link -o {Targ} {PObjs} {SegmentMappings}
  70.     SetFile {Targ} -t APPL -c 'SAPP' -a B
  71.